//
//  RankFooter.m
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/5.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "RankFooter.h"

@interface RankFooter()

- (IBAction)share:(id)sender;

@end
@implementation RankFooter

+ (instancetype)footerView
{
    RankFooter *footer = [[[NSBundle mainBundle] loadNibNamed:@"RankFooter" owner:nil options:nil] lastObject];
    return footer;
}

- (IBAction)share:(id)sender {
    if ([self.delegate respondsToSelector:@selector(share)]) {
        [self.delegate share];//分享出去
    }
}
@end
